package com.wanlian.service;

import com.wanlian.common.PageCondition;
import com.wanlian.entity.Authority;
import com.wanlian.entity.RoleGroupUser;
import com.wanlian.model.ResultModel;

public interface RoleGroupUserService {

    /**
     * 添加
     */
    ResultModel doAdd(RoleGroupUser roleGroupUser);

    /**
     * 删除
     */
    ResultModel doDel(RoleGroupUser roleGroupUser);

    /**
     * 权限分页查询
     * @param pageCondition
     * @return
     */
    ResultModel queryByParam(PageCondition pageCondition);

    ResultModel doEdit(RoleGroupUser roleGroupUser);

    RoleGroupUser queryByUid(int  userId);


}
